﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Data;
using System.Data.SqlClient;

/// <summary>
/// Summary description for DAL_Slideshow
/// </summary>
public class DAL_Slideshow
{
    DbProvider data = new DbProvider();
   
    public DataTable Db_Slider_Content()
    {
        DataTable dt = new DataTable();
        string sql = "select * from Slideshow where Status = 1 Order by [Order]";
        try
        {
            dt = data.ExecuteQuery(sql);
        }
        catch (Exception)
        {

            throw;
        }
        return dt;
    }
}